import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import 'virtual:uno.css'
import '@/styles/index.scss'
import store from '@/store'
import App from './App.vue'
import router from '@/router'
import '@/router/permission'
import { loadSvg } from '@/icons'
import 'ant-design-vue/dist/reset.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
loadSvg(app)
app.use(ElementPlus)
app.use(router)
app.use(store)

app.mount('#app')
